/**
 * Created with JetBrains WebStorm.
 * User: Administrator
 * Date: 13-6-6
 * Time: 上午11:26
 * To change this template use File | Settings | File Templates.
 */
Ext.define('cloud.model.ArticleCategoryModel', {
    extend: 'Ext.data.Model',
    config: {
        fields: ['ccid', 'name', 'display', 'cadid', 'lasttime','parentid','iconUrl'],
        validations: [
            { type: 'presence', field: 'ccid', message: 'ID不能为空！'},
            { type: 'presence', field: 'name', message: '分类名称不能为空！'}
         ]
    }
});